package first.endtoend

import first.endtoend.RationCard

class RationCardService
{

    def serviceMethod()
    {

    }


    def toJson(RationCard aRationCard)
    {

        if (aRationCard)
        {
            [
                    id      : aRationCard.id,
                    tagId   : aRationCard.tag.tagId,     //previous version with class tag
                    validity: aRationCard.validity

            ]
        } else
        {

        }
    }
}
